package com.jumi.microservice.stock.api.dto;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @Description 商城库存申请
 * @ClassName CommodityStockApplyRequest
 * @Author Abel Yang
 * @Date 2020/8/28/028 9:12
 **/
public class CommodityStockApplyRequest extends AbstractObject implements Serializable {

    private static final long serialVersionUID = 1270485014343756174L;

    @ApiModelProperty(value = "商城spuId")
    private Long spuId;
    @ApiModelProperty(value = "商城spuCode")
    private String spuCode;
    @ApiModelProperty(value = "商城spuName")
    private String spuName;
    @ApiModelProperty(value = "商城sku列表")
    private List<CommoditySkuApplyDTO> commoditySkuApplyList;

    public Long getSpuId() {
        return spuId;
    }

    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    public String getSpuCode() {
        return spuCode;
    }

    public void setSpuCode(String spuCode) {
        this.spuCode = spuCode;
    }

    public String getSpuName() {
        return spuName;
    }

    public void setSpuName(String spuName) {
        this.spuName = spuName;
    }

    public List<CommoditySkuApplyDTO> getCommoditySkuApplyList() {
        return commoditySkuApplyList;
    }

    public void setCommoditySkuApplyList(List<CommoditySkuApplyDTO> commoditySkuApplyList) {
        this.commoditySkuApplyList = commoditySkuApplyList;
    }

    @Override
    public String toString() {
        return "CommodityStockApplyRequest{" +
                "spuId=" + spuId +
                ", spuCode='" + spuCode + '\'' +
                ", spuName='" + spuName + '\'' +
                ", commoditySkuApplyList=" + commoditySkuApplyList +
                '}';
    }
}

